import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
import HomeView from "../views/HomeView.vue";

// 导入路由这里扩展性提高了
import { routes } from "@/router/routes";
const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});
// const store = useStore();

export default router;
